/*
 * @Author: 飞越疯人院 353362604@qq.com
 * @Date: 2022-05-30 10:11:34
 * @LastEditors: 飞越疯人院 353362604@qq.com
 * @LastEditTime: 2022-10-26 13:26:18
 * @FilePath: \reconfiguration-administration\src\Login\LoginStyle\LoginDefault.jsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import '../Scss/LoginDefault.scss'

import { project } from '../../Data'
const LoginDefault = () => {
    return (
        <div className="LoginDefault">
            <div className="title">项目列表</div>
            <div className="content">
                {Object.keys(project).map(key => {
                    if (key === 'localhost') return false
                    else
                        return (
                            <div
                                key={key}
                                onClick={() => (window.location.href = `http://${key}:${window.location.port}`)}
                            >
                                {project[key].title} {project[key]?.LoginMethod}
                            </div>
                        )
                })}
            </div>
        </div>
    )
}
export default LoginDefault
